package com.itheima.sh;

/**
 * @Description: 静态工厂
 * @Version: V1.0
 */
public class MyBeanFactory {

    // MyBeanFactory.createUser()
    public static User createUser() {
        return new User();
    }

}
